<template>
    <div>
      <div class="detail-evaluate-wrap">
        <div class="detail-evaluate">
          <div class="detail-evaluate-title">
            <span>评价</span>
            <div class="detail-evaluate-good">
              <p>好评率<span>{{goodsInfo.goods_percent}}</span></p>
              <i class="iconfont">&#xe601;</i>
            </div>
          </div>
          <div class="detail-evaluate-content">
            <div class="detail-evaluate-user">
              <img src="/static/image/index/order.png" alt="">
              <span>香蕉奶昔</span>
            </div>
            <p>这件大衣很好看，穿在身上也是很好看。总而言之就是很好看,你说不好看也好看。</p>
            <div class="detail-evaluate-info">
              <p>2017-07-10</p>
              <p>颜色尺码：<span>红色L</span></p>
            </div>
          </div>
        </div>
      </div>
    </div>
</template>

<script>
    export default {
        name: "comment",
      props:['goodsInfo']
    }
</script>

<style scoped lang="scss">
  .detail-evaluate-wrap {
    width: 100%;
    height: 207px;
    background: #fff;
  .detail-evaluate {
    width: 90%;
    margin: 0 auto;
  .detail-evaluate-title {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  > span {
    color: #333;
  }
  .detail-evaluate-good {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 13px;
  }
  }
  .detail-evaluate-content {
    width: 100%;
  .detail-evaluate-user {
    width: 100%;
    display: flex;
    align-items: center;
  > img {
    width: 8vw;
    height: 8vw;
  }
  > span {
    color: #666;
    font-size: 13px;
    margin-left:2vw;
  }
  }
  p {
    color: #333;
    font-size: 13px;
  }
  .detail-evaluate-info {
    width: 100%;
    display: flex;
  p {
    color: #999;
    font-size: 11px;
  &:first-of-type {
     margin-right: 15px;
   }
  }
  }
  }
  }
  }
</style>
